<?php

class CaseModel extends Model 
{

	protected $_validate=array(
		array('title','require','案例标题不能为空',0,'','all'),
		array('thumb','require','案例图片不能为空',0,'','add'),
		array('link','require','案例地址不能为空',0,'','all'),
		array('htmlbody','require','描述内容不能为空',0,'','all'),		
	);	
	protected $_auto  =  array(  	
        array('addtime','time','ADD','function'),
	);
}
?>